*{
  padding: 0;
  margin: 0;
}
a{
  text-decoration: none;
  color: #545c63;
}
.header{
  z-index: 10;
  width: 100%;
  height: 5rem;
  background-color: white;
  border-bottom: 1px solid #f3f5f6;
  position: fixed;
  top: 0;
  z-index: 10;
  box-shadow: 0 4px 8px 0 rgb(7 17 27 / 10%);
}
.header-content{
  width: 80%;
  height: 5rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}
.arrs{
  width: 34%;
  display: flex;
  flex-wrap: wrap;
  height: 5rem;
}
.arrs li{
  list-style: none;
  height: 5rem;
  width: 20%;
}
.header-content ul li a{
  text-decoration: none;
    display: block;
    color: #545c63;
    text-align: center;
    font-size: 1rem;
    line-height: 5rem;
}
.header-content ul li:hover a{
  color: #409eff;
}
.logo{
  width: 13%;
  margin-right: 3%;
  height: 5rem;
  vertical-align: middle;
}
.logo img{

  margin-top: 4px;
  height: 72px;
  
}
.search{
  width: 25%;
  line-height: 5rem;
}
.search input{
  padding: .8rem 2rem;
  outline: none;
  border: 1px solid transparent;
  transition: border .5s ease;
  background-color: #f3f5f6;
  color:#606266;
  border-radius: 5px;
}
.search input:focus{
  color: #606266 !important;
  border: 1px solid #409eff !important;
}
.login-area{
  margin-left: 2%;
  width: 23%;
  display: flex;
  flex-wrap: wrap;
}
.login-area li:hover:not(:nth-of-type(4)){
  color: #409eff;
}

.shop-cart  img{
  width: 1.5rem;
  vertical-align: middle;
}
.login-area ul{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.login-area ul li{
  text-decoration: none;
    display: block;
    color: #545c63;
    text-align: center;
    font-size: 1rem;
    line-height: 5rem;
}
.collection{
  cursor: pointer;
  width: 30%;
}
.collection:hover span{
  color: #409eff;
}
.shop-cart{
  width: 25%;
}
.login{
  width: 20%;
  cursor: pointer;
}
.heng{
  width: 5%;
}
.reg{
  width: 20%;
  cursor: pointer;
}
.other{
  width: 100%;
  height: 5rem;
}
.login-b{
  position: fixed;
  top: 25%;
  left: 50%;
  z-index: 100000;
  transform: translateX(-50%);
  width: 25rem;
  height: 24rem;
  background-color: white;
  box-shadow: 0 3px 5px rgb(5,9,35,.15);
  border-radius: 15px;
}
.login-b h3{
  text-align: center;
  margin-top: 25px;
  color: #f20d0d;
}
.login-b div:first-child{
  width: 70%;
  margin: 0 auto;
}
.login-b div:nth-of-type(2){
  width: 100%;
}
.login-b input[type=text]{
  width: 96%;
  outline: none;
  border: 1px solid transparent;
  transition: border .5s ease;
  background: rgba(28,31,33,.06);
  border-radius: 8px;
  padding: 1rem 0px 1rem 1rem;
    box-shadow: 2px 0 5px 0 #fff;
    margin: 1.5rem 0px 1.5rem 0px;
    color: #606266;
}
.logmistake{
  position: absolute;
  top: 120px;
  color: red;
  font-size: 14px;
}
.pwdmistake{
  position: absolute;
  top: 185px;
  color: red;
  font-size: 14px;
}
.login-b input[type=password]{
  width: 96%;
  outline: none;
  border: 1px solid transparent;
  transition: border .5s ease;
  background: rgba(28,31,33,.06);
  border-radius: 8px;
  padding: 1rem 0px 1rem 1rem;
    box-shadow: 2px 0 5px 0 #fff;
    margin-bottom: 1.5rem;
    color: #606266;
}
.login-b input:focus{
  color: #606266 !important;
  border: 1px solid #409eff !important;
}
.close img{
  position: absolute;
  top: 1.5rem;
  width: 30px;
  right: 30px;
  cursor: pointer;
}
.jz{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.jz div:first-child{
  width: 50%;
  color: #9199a1;
}
.jz div:last-child{
  width: 50%;
  
}
.jz div:last-child a{
  text-decoration: none;
  padding-left: 3.5rem;
  cursor: pointer;
  color: #9199a1;
}
.button button{
  text-align: center;
  margin-top: 1rem;
  width: 97%;
  margin-bottom: 1rem;
}
.jump-reg{
  text-align: center;
  margin-right: 3%;
  font-size: 16px;
  color: #f20d0d
}
.xy{
  margin-top: 1rem;
  text-align: center;
  margin-right: 3%;
  color: #9199a1;
}
.reg-b{
  position: fixed;
  top: 25%;
  left: 50%;
  z-index: 100000;
  transform: translateX(-50%);
  width: 25rem;
  height: 25rem;
  background-color: white;
  box-shadow: 0 3px 5px rgba(5,9,35,.15);
  border-radius: 15px;
}
.reg-b h3{
  text-align: center;
  margin-top: 25px;
  color: #f20d0d;
}
.reg-email{
  margin: 0 auto;
  width: 70%;
  
}
.reg-email input{
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  width: 96%;
  outline: none;
  border: 1px solid transparent;
  transition: border .5s ease;
  background: rgba(28,31,33,.06);
  border-radius: 8px;
  padding: 14px 0px 14px 10px;
}
.reg-pw{
  width: 70%;
  margin: 0 auto;
}
.reg-pw input{
  margin-bottom: 1.5rem;
  width: 96%;
  outline: none;
  border: 1px solid transparent;
  transition: border .5s ease;
  background: rgba(28,31,33,.06);
  border-radius: 8px;
  padding: 14px 0px 14px 10px;
}
.reg-b input:focus{
  color: #606266 !important;
  border: 1px solid #409eff !important;
}
.reg-yzm{
  width: 70%;
  margin: 0 auto;
}
.reg-yzm input{
  margin-bottom: 1rem;
  width: 96%;
  outline: none;
  border: 1px solid transparent;
  transition: border .5s ease;
  background: rgba(28,31,33,.06);
  border-radius: 8px;
  padding: 14px 0px 14px 10px;
  
}
.reg-yzm span{
  position: absolute;
  top: 55.5%;
  left: 240px;
  color: #37f!important;
  cursor: pointer;
}
.reg-ty{
  width: 70%;
  margin: 0 auto;
  color: #9199a1;
  margin-top: .5rem;
}
.reg-button{
  width: 70%;
  margin: 0 auto;
  margin-bottom: 1rem;
  margin-top: 1rem;
}
.reg-button button{
  width: 96%;
}
.jump-login{
  text-align: center;
  margin-right: 5%;
  color: #f20d0d;
}
.regmistake{
  position: absolute;
  top: 185px;
  color: red;
  font-size: 14px;
}
.regyzm{
  position: absolute;
  top: 252px;
  color: red;
  font-size: 14px;
}
.user{
  width: 20%;
}
.user img{
  vertical-align: middle;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid transparent;
}
.user img:hover{
  cursor: pointer;
  border: 1px solid #409eff;
}
.user-detail{
  width: 18rem;
  position: absolute;
  z-index: 5;
  top: 5rem;
  display: flex;
  flex-wrap: wrap;
  box-shadow: 0 8px 16px 0 rgb(7 17 27 / 20%);
  background-color: #fff;
  right: 12%;
  border-radius: 0px 0px 5px 5px;
}
.user-img{
  margin-top: .5rem;
  width: 40%;
  text-align: center;
  height: 3rem;
}
.user-img img{
  vertical-align: middle;
  width: 4rem;
  margin-top: 1rem;
  margin-left: 15px;
  border-radius: 50%;
}
.user-name{
  margin-top: 1rem;
  line-height: cover;
  width: 60%;
  line-height: 3rem;
}
.user-buttons{
  width: 80%;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  margin-top: 1rem;
}
.user-buttons div{
  width: 49%;
  margin-right: 1%;
  text-align: center;
  background-color: rgb(241, 241, 241);
  margin-top: 1%;
  cursor: pointer;
  line-height: 2rem;
}
.user-buttons div:hover{
  background-color: #ccc;
}
.user-buttons div:hover a{
 color: #409eff;
}
.user-close{
  width: 80%;
  margin: 0 auto;
  margin-top: 4%;
  font-size: 14px;
  color: #ccc;
  margin-bottom: 5%;
}
.user-close span:hover{
  cursor: pointer;
  color: black;
}